package com.fl.iocaop.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Arrays;
import java.util.List;
import java.util.Map;
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Bean_List {
    private String [] a1;

    private List<String> list;

    private Map<String,String> map;

    private List<Dept> deptList;

    public void setDeptList(List<Dept> deptList) {
        this.deptList = deptList;
    }

    public void setA1(String[] a1) {
        this.a1 = a1;
    }

    public void setList(List<String> list) {
        this.list = list;
    }

    public void setMap(Map<String, String> map) {
        this.map = map;
    }

    public List<String> listget(){
        return this.list;
    }
    @Override
    public String toString() {
        System.out.println("deptlist==>"+deptList);
        return "Bean_List{" +
                "a1=" + Arrays.toString(a1) +
                ", list=" + list +
                ", map=" + map +
                '}';
    }
}
